<template>
  <div class="video-bg">
    <!-- <video width="320" height="240" autoplay loop muted>
      <source src="./assets/background-image.mp4" type="video/mp4" />
      Your browser does not support the video tag.
    </video> -->
  </div>

  <div class="main">
    <!--顶部导航栏菜单-->
    <header-component></header-component>

    <div class="wrapper">
      <!--左边导航栏菜单-->
      <left-component></left-component>
      <!-- 内容区域 -->
        <router-view ></router-view>
    </div>
  </div>
</template>

<script >
import HeaderComponent from "@/components/HeaderComponent";
import LeftComponent from "@/components/LeftComponent";

export default {
  name: "App",
  components: { HeaderComponent, LeftComponent },
  data() {
    return {};
  },
};
</script>

<style>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

#app {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/*背景视频*/
.video-bg {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/*主页面*/
.main {
	background-color: rgba(250, 248, 248, 0.76);
  /* max-width: 1300px;
  max-height: 880px; */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* position: relative;
  height: 99vh;
  width: 100%;
  border-radius: 14px; */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 15px;
  font-weight: 500;

  background-size: 100% 100%;
  height: 100%;
  position: fixed;
  width: 100%;
}
/* 左侧导航栏 */
.wrapper {
  display: flex;
  flex-grow: 1;
  overflow: hidden;
}

/*浏览器滚动条样式*/
::-webkit-scrollbar {
  width: 4px;
  height: 5px;
  border-radius: 10px;
 background-color: rgba(255, 250, 250, 0.3);
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius:2em;
  /* background: -webkit-linear-gradient(top, #db6ff3 0%, rgb(240, 240, 103) 100%); */
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
 background-color: rgb(147,147,153,0.5);
  -webkit-border-radius: 2em;
  -moz-border-radius: 2em;
  border-radius:2em;
}
</style>
